package com.tbit.uqbike.webmanager.dao.stat;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.object.pojo.MoneyData;
import com.tbit.uqbike.object.pojo.statistics.RechargeOrderDaySta;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author HZW
 * @ClassName RechargeOrderDayStaDao
 * @Description
 * @date 2021/12/29 9:42
 * @Version 1.0
 */
@DS(DataSource.STAT)
public interface RechargeOrderDayStaDao {
    /**
     * 查询区域内的充值订单统计
     */
    List<RechargeOrderDaySta> selectByAccountId(Map<String, Object> params);

    /**
     * 插入数据
     */
    Integer addRechargeOrderDay(@Param("entities") List<Map<String, Object>> depositOrders);

    Integer insertByMap(Map<String, Object> map);

    Integer update(RechargeOrderDaySta rechargeOrderDaySta);

    List<MoneyData> getByaccountId(Map<String, Object> map1);
}
